package com.qiuling.iot.mapper;

import com.qiuling.iot.entity.EquipmentData;
import com.qiuling.iot.vo.req.EquipmentDataReqVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EquipmentDataMapper {
    int deleteByPrimaryKey(String id);

    int insert(EquipmentData record);

    int insertSelective(EquipmentData record);

    EquipmentData selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EquipmentData record);

    int updateByPrimaryKey(EquipmentData record);

    /**************************自定义接口*****************************/
    List<EquipmentData> selectAll(EquipmentDataReqVO vo);

    int batchDeletedData(List<String> dataIds);
}